package com.css.zfzx.fxpg.modules.evaluationmap.economicLoss.service;

import com.alibaba.fastjson.JSONObject;
import com.css.zfzx.fxpg.modules.evaluationmap.economicLoss.repository.entity.FxEconomicLossEvaluationMapEntity;
import com.css.zfzx.fxpg.modules.evaluationmap.economicLoss.viewobjects.FxEconomicLossEvaluationMapQueryParams;

import java.util.List;

/**
 * @author andy
 * @date 2021-01-26
 */

public interface FxEconomicLossEvaluationMapService {

    public JSONObject queryFxEconomicLossEvaluationMaps(FxEconomicLossEvaluationMapQueryParams queryParams, int curPage, int pageSize);

    public JSONObject queryFxEconomicLossEvaluationMapsByFileName(FxEconomicLossEvaluationMapQueryParams queryParams, int curPage, int pageSize, String sort, String order);

    public FxEconomicLossEvaluationMapEntity getFxEconomicLossEvaluationMap(String id);

    public FxEconomicLossEvaluationMapEntity saveFxEconomicLossEvaluationMap(FxEconomicLossEvaluationMapEntity qhSiteClassResult);

    public FxEconomicLossEvaluationMapEntity updateFxEconomicLossEvaluationMap(FxEconomicLossEvaluationMapEntity qhSiteClassResult);

    public void deleteQhRiskEvaluationMaps(List<String> ids);

    public JSONObject getFxEconomicLossEvaluationMaps(FxEconomicLossEvaluationMapQueryParams queryParams);

    public JSONObject getFxEconomicLossEvaluationMapsForSyntheticalDistrict(FxEconomicLossEvaluationMapQueryParams queryParams);

    public void saveOrUpdate(FxEconomicLossEvaluationMapEntity scrEntity);

    public String importTIFFileData(String filePath, String province, String city, String area, String condition, double EconomicLossNum, String coordinate, String lossGridData);

    public String judgeFileParams(String[] datas);

    public void deleteFxEconomicLossEvaluationMapsByFileName(List<String> fileNames);

    public String checkPointIsInDistrict(String province, String city, String area, String rasterCoordinate);

    public Long lookUpFxEconomicLossEvaluationMaps(FxEconomicLossEvaluationMapQueryParams queryParams);
}
